<div class="pz-block pz-block-tweets">
    {if $blockParams.displayFeedTitle}<div class="title"><a href="{$rss->getLink()}" title="{$rss->getTitle()}">{$rss->getTitle()}</a></div>{/if}
    {if $blockParams.displayFeedDescription}<div class="description">{$rss->getDescription()}</div>{/if}
    <div class="items">
    {foreach from=$rss->getItems($blockParams.itemsNumber) item=item name=rssitem key=key}
        <div class="item{if $key == 0} first{/if}">
            <div class="item-tweet">{$item->getTweet()}</div>
            {if $blockParams.displayFeedItemsPubDate}<div class="item-date" title="{$item->getPubDateFormatted()}">{$item->getElapsedTime()}</div>{/if}
        </div>
    {/foreach}
    </div>
</div>